package avriServer.util;

public class ActionException extends Exception{
	private String action = "";
	public ActionException() {
	}
	public ActionException(String _action) {
		action = _action;
	}

	public String toString() {
		if (this.action.equals(""))
			return  "Action is undefined.";
		else
			return "The action '"+this.action+"' is undefined." ;
	}
}
